@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>${moduleName}管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                                <#NameCon id="id" name="${moduleName}Id" />
                            </div>
                            <div class="col-sm-3">
                                <#SelectCon id="status" name="状态">
                                    <option value="">全部</option>
                                    <option value="1" selected="selected">有效</option>
                                    <option value="0">无效</option>
                                </#SelectCon>
                            </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="${entity}.search()"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="${entity}TableToolbar" role="group">
                            @if(shiro.hasPermission("/${package.Parent}/add")){
                                <#button name="添加" icon="fa-plus" clickFun="${entity}.openAdd${entity}()"/>
                            @}
                            @if(shiro.hasPermission("/${package.Parent}/delete")){
                                <#button name="删除" btnCss="danger" icon="fa-remove" clickFun="${entity}.delete(0)"/>
                            @}
                        </div>
                        <#table id="${entity}Table"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="<#noparse>${ctxPath}</#noparse>/static/dzmf/${package.Parent}/${entity?uncap_first}.js"></script>
@}
